package start;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("META-INF\\beans.xml");
        //A a = (A) context.getBean("aBean");
        //A a2 = (A) context.getBean("aBean2");
        //A a3 = (A) context.getBean("aBean3");
        //D d = (D) context.getBean("dBean");
        //E e = (E) context.getBean("eBean");
        //F f = (F) context.getBean("fBean");
        //G g = (G) context.getBean("gBean");
        //G g = (G) context.getBean("child");
        //K k = (K) context.getBean("kBean");
        //ExampleBean exampleBean = (ExampleBean) context.getBean("beanOne");
        //B b = (B) context.getBean("bBean");
        //L l = (L) context.getBean("lBean");
        //MyValueCalculator myValueCalculator = (MyValueCalculator) context.getBean("myValueCalculator");
        //myValueCalculator.computeValue("3+4");
    }
}
